package com.example.springsecurityjwt.service;

import com.example.springsecurityjwt.entity.SysUser;

/**
 * @Author: hps
 * @Description:
 * @Date: Created in 10:56 2018/10/1
 */
public interface AuthService {

    SysUser register(SysUser userToAdd);
    String login(String username, String password);
    String refresh(String oldToken);
}
